package com.mobilesalon.widget.swipe.demo;

import android.os.Bundle;
import android.util.Log;
import android.widget.ArrayAdapter;
import android.widget.ListView;

import com.mobilesalon.widget.picker.R;
import com.mobilesalon.widget.swipe.SwipeListActivity;

public class SimpleSwipeListActivity extends SwipeListActivity {
	private static final String TAG = SimpleSwipeListActivity.class.getName();

	private String[][] listValues = { { "one", "two", "three" },
			{ "oneone", "twotwo", "threethree" } };



	//
	// Lifecycle
	//
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.pannel_switcher);
		
		ListView listView = super.getListView();
		ArrayAdapter<String> adapter = new ArrayAdapter<String>(this.getApplicationContext(),
				android.R.layout.simple_list_item_1, listValues[0]);
		listView.setAdapter(adapter);
	}

	
	
	public void swipeLeft() {
		Log.d(TAG, "swipeLeft");

	}

	
	public void swipeRight() {
		Log.d(TAG, "swipeRight");

	}

}
